<template>
    <div class="field-control">
        <ExpEditor class="exp-input" :name="code" :disabled="!enable" type="condition" @input="valueInput" :value="value"></ExpEditor>
        <div class="field-message" v-show="!validate">{{message}}</div>
    </div>
</template>
<script>
import base from './base'
import ExpEditor from '@/components/expEditor'
export default {
    extends: base,
    methods: {
    },
    components: {
        ExpEditor
    }
}
</script>
<style lang="less">
.exp-input {
    min-height: 90px;
    .exp-editor .editor-content {
        height: auto;
    }
}
</style>
